package com.woniuxy.sales.model.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @TableName 收藏表
 */
@TableName(value ="favorites")
@Data
public class Favorites implements Serializable {
    @TableId
    private Integer favoriteId;  //收藏表id

    private Integer userId;  //用户id

    private Integer productId;  //车辆id

    @TableField(fill = FieldFill.INSERT)
    private Date addedDate;  //收藏时间

    private static final long serialVersionUID = 1L;
}